<?php

$id = $_GET['id'];
$cant_comensales = $_GET['cant_comensales'];

$mysqli = new mysqli('localhost','root','123456','restaurante');

$mysqli->query("UPDATE pedidos SET cant_clientes = '$cant_comensales' WHERE id = '$id'");



$mysqli->close();
?>
